﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YakShaverUCM.UCMFoundation.Interface
{
    public interface IStreamService
    {
        // used for monitoring files.  Not quite sure how it will trigger yet.
        event EventHandler<StreamEventArgs> ItemCheckedIn;
        event EventHandler<StreamEventArgs> ItemCheckedOut;
        


        ICreateStreamResult CreateStream(IStream parentStream);

        IRebaseStreamResult RebaseStream(IStream stream);
        
        IDeliverStreamResult DeliverStream(IStream sourceStream, IStream targetStream, IList<IWorkItem> workItems);


    }

    public abstract class StreamEventArgs : EventArgs
    {

    }
}
